package com.plugin

import org.gradle.api.Plugin
import org.gradle.api.Project

/**
 * 参考：@see https://blog.csdn.net/yulong0809/article/details/77752098
 */
public class MyPlugin implements Plugin<Project> {

    void apply(Project project) {
        //在自定义的gradle插件的apply方法中注册自定义的Transform
        project.android.registerTransform(new MyTransform(project))
    }
}